package me.hekr.iotos.softgateway.northProxy.processor;

import me.hekr.iotos.softgateway.common.enums.Action;
import me.hekr.iotos.softgateway.common.klink.CloudSend;
import lombok.extern.slf4j.Slf4j;

/**
 * cloudSend指令处理器示例代码
 */

@Slf4j
public class CloudSendProcessor implements Processor<CloudSend> {

  @Override
  public void handle(CloudSend klink) {
    log.info(klink.toString());
  }

  @Override
  public Action getAction() {
    return Action.CLOUD_SEND;
  }
}
